body {
  background: #18171f;
  color: #e4e4eb;
  margin: 0;
  padding: 0;
}

body, input {
  font-family: "Cerebri Sans", Arial, sans-serif;
}

#xApp {
  margin: 18px 26px;
}

::-webkit-scrollbar {     
  background-color: #18171f;
  width: .5em;
}

::-webkit-scrollbar-thumb:window-inactive,
::-webkit-scrollbar-thumb {
  background:  #100f14;
  border-radius: 10px;
}


#xVersion {
  position: absolute;
  font-size: 12px;
  color: #403f4e;
  top: 10px;
  right: 25px;
}

header {
  display: flex;
  justify-content: space-between;
}

#xIcon {
  height: 32px;
  width: 32px;
}

h1 {
  font-size: 23px;
  margin-top: 20px;
  font-weight: 900;
  color: #e4e4eb;
  margin-bottom: 0px;
}

h3 {
  margin-bottom: 5px;
  margin-top: 5px;
}

.subtitle {
  color: #7f7f86;
  margin: 0px;
  font-size: 13px;
  padding-bottom: 30px;
}

.db-widget-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-bottom: 16px;

  &:first-of-type {
    margin-top: 26px;
  }

  .error-message {
    font-size: 13px;
    margin: 5px 0;
    color: red;
    width: 100%;
  }
}

.db-widget__double, .db-widget__triple {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.db-widget__double {
  .db-widget {
    width: 169px;
  }
}

.db-widget__triple {
  .db-widget {
    width: 112px;
  }
}

.db-widget {
  width: 100%;
  border-bottom: 1px solid #3e3d42;
}

.db-widget-small {
  width: 25%;
  border-bottom: 2px solid #5b4ade;
}

.db-widget-long {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #5b4ade;
  padding-bottom: 12px;
  
  .db-widget-long__upload {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.db-title {
  color: #e4e4eb;
  font-size: 17px;
  letter-spacing: 0px;
  margin-bottom: 16px;
  font-weight: 700;
}

.db-data {
  color: #b7b6ba;
  font-size: 13px;
  letter-spacing: 0px;
  margin-bottom: 16px;
}

.input-field {
  background: #18171f;
  color: white;
  border: none;
  width: 100%;
  font-size: 13px;
}

.input-field:focus {
  outline: none;
}

#createNode,
button {
  text-align: center;
  justify-content: center;
  background-color: #5b4ade;
  border: none;
  border-radius: 3px;
  width: 100%;
  height: 38px;
  font-size: 13px;
  color: white;
  font-weight: 300;
  letter-spacing: 0;
  margin-top: 21px;
}

#connectionImg {
  position: absolute;
  left: 382px;
  top: 400px;
}

#portSetup {
  position: absolute;
  left: 159px;
  top: 374px;
  width: 25px;
  height: 25px;
}

#storagePath {
  color: gray;
  font-size: 13px;
}

.hide {
  visibility: hidden;
}

/* 
    toggle button animation
*/

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch .sliderInput {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #5b4ade;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.sliderInput:checked + .slider {
  background-color: #5b4ade;
}

.sliderInput:focus + .slider {
  box-shadow: 0 0 1px #5b4ade;
}

.sliderInput:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

#fileInput {
  background: url(../imgs/xcore/upload.png);
  background-repeat: no-repeat;
  height: 40px;
  width: 40px;
}
